﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for Spot
/// </summary>
public class Spot:ServiceObject
{


	/// <summary>
    /// Fields of Spot
    /// </summary>
    #region Fields
    SpotCategory category;
    Location location;
    bool isRecommended;   
    int rank;   
   
    #endregion

    /// <summary>
    /// Properties of Spot
    /// </summary>
    #region Properties
    public SpotCategory Category
    {
        get { return category; }
        set { category = value; }
    }
    public Location Location
    {
        get { return location; }
        set { location = value; }
    }
    public bool IsRecommended
    {
        get { return isRecommended; }
        set { isRecommended = value; }
    }
    public int Rank
    {
        get { return rank; }
        set { rank = value; }
    }
    #endregion

    /// <summary>
    /// Constructures Spot
    /// </summary>
    #region Constructures
    public Spot()
    {
        category = new SpotCategory();
        location = new Location();
        isRecommended = true;
        rank = 0;

    }
    public Spot(SpotCategory category, bool isRecommended, int rank)
	{
        this.category = category;
        this.isRecommended = isRecommended;
        this.rank = rank;
    }
    #endregion
}